.hospital-detail {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.loading-container,
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-size: 28rpx;
  color: #666;
}

.content {
  padding-bottom: 20rpx;
}

/* 医院基本信息 */
.hospital-info {
  background: white;
  padding: 30rpx;
  margin-bottom: 20rpx;
}

.hospital-header {
  display: flex;
  gap: 20rpx;
  margin-bottom: 30rpx;
}

.hospital-logo {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-image {
  width: 100%;
  height: 100%;
}

.hospital-details {
  flex: 1;
}

.hospital-name {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 15rpx;
}

.hospital-rating {
  display: flex;
  align-items: center;
  gap: 20rpx;
  margin-bottom: 15rpx;
}

.rating {
  font-size: 28rpx;
  color: #ffa500;
  font-weight: bold;
}

.services,
.reviews {
  font-size: 24rpx;
  color: #666;
}

.hospital-tag {
  font-size: 24rpx;
  color: #00AF82;
  background: #f0f9f6;
  padding: 8rpx 16rpx;
  border-radius: 12rpx;
  align-self: flex-start;
}

.action-buttons {
  display: flex;
  gap: 20rpx;
}

.action-btn {
  flex: 1;
  padding: 20rpx;
  border-radius: 25rpx;
  text-align: center;
  font-size: 28rpx;
  font-weight: bold;
}

.consult-btn {
  background: #f0f9f6;
  color: #00AF82;
  border: 2rpx solid #00AF82;
}

.book-btn {
  background: linear-gradient(135deg, #00AF82 0%, #00a676 100%);
  color: white;
  box-shadow: 0 4rpx 12rpx rgba(0, 175, 130, 0.3);
}

/* 标签页导航 */
.tab-nav {
  background: white;
  display: flex;
  border-bottom: 1rpx solid #f0f0f0;
  margin-bottom: 20rpx;
}

.tab-item {
  flex: 1;
  padding: 25rpx 0;
  text-align: center;
  font-size: 28rpx;
  color: #666;
  position: relative;
  transition: all 0.3s ease;
}

.tab-item.active {
  color: #00AF82;
  font-weight: bold;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60rpx;
  height: 4rpx;
  background: #00AF82;
  border-radius: 2rpx;
}

/* 标签页内容 */
.tab-content {
  background: white;
}

/* 医院介绍 */
.hospital-intro {
  padding: 30rpx;
}

.intro-section {
  margin-bottom: 30rpx;
}

.intro-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 15rpx;
  display: block;
}

.section-content {
  font-size: 28rpx;
  color: #666;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20rpx;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15rpx;
  padding: 20rpx;
  background: #f8f9fa;
  border-radius: 12rpx;
}

.feature-icon {
  font-size: 32rpx;
}

.feature-text {
  font-size: 26rpx;
  color: #333;
}

.facilities-list,
.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15rpx;
}

.facility-item,
.equipment-item {
  font-size: 26rpx;
  color: #666;
  background: #f8f9fa;
  padding: 12rpx 20rpx;
  border-radius: 20rpx;
}

/* 热门项目 */
.hot-projects {
  padding: 30rpx;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20rpx;
}

.project-card {
  background: white;
  border-radius: 12rpx;
  overflow: hidden;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:active {
  transform: scale(0.98);
}

.project-image {
  width: 100%;
  height: 200rpx;
  position: relative;
}

.image {
  width: 100%;
  height: 100%;
}

.project-info {
  padding: 20rpx;
}

.project-title {
  font-size: 26rpx;
  color: #333;
  line-height: 1.4;
  margin-bottom: 15rpx;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8rpx;
  margin-bottom: 15rpx;
}

.project-tag {
  font-size: 20rpx;
  color: #00AF82;
  background: #f0f9f6;
  padding: 4rpx 12rpx;
  border-radius: 10rpx;
}

.project-price {
  display: flex;
  align-items: center;
  gap: 10rpx;
  margin-bottom: 8rpx;
}

.current-price {
  font-size: 28rpx;
  color: #ff4757;
  font-weight: bold;
}

.original-price {
  font-size: 22rpx;
  color: #999;
  text-decoration: line-through;
}

.saved-price {
  font-size: 20rpx;
  color: #ff6b35;
}

.no-projects {
  text-align: center;
  padding: 60rpx 0;
  color: #999;
  font-size: 28rpx;
}

/* 医生团队 */
.doctor-team {
  padding: 30rpx;
}

.doctor-list {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.doctor-card {
  display: flex;
  gap: 20rpx;
  padding: 20rpx;
  background: #f8f9fa;
  border-radius: 12rpx;
}

.doctor-avatar {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-image {
  width: 100%;
  height: 100%;
}

.doctor-info {
  flex: 1;
}

.doctor-name {
  font-size: 28rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 8rpx;
}

.doctor-title {
  font-size: 24rpx;
  color: #00AF82;
  margin-bottom: 12rpx;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8rpx;
  margin-bottom: 12rpx;
}

.specialty-tag {
  font-size: 20rpx;
  color: #666;
  background: white;
  padding: 4rpx 12rpx;
  border-radius: 10rpx;
}

.doctor-description {
  font-size: 24rpx;
  color: #666;
  line-height: 1.5;
}

.no-doctors {
  text-align: center;
  padding: 60rpx 0;
  color: #999;
  font-size: 28rpx;
}

/* 用户评价 */
.user-reviews {
  padding: 30rpx;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.review-card {
  padding: 20rpx;
  background: #f8f9fa;
  border-radius: 12rpx;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15rpx;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15rpx;
}

.reviewer-avatar {
  width: 60rpx;
  height: 60rpx;
  border-radius: 50%;
}

.reviewer-details {
  flex: 1;
}

.reviewer-name {
  font-size: 26rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 5rpx;
}

.review-rating {
  display: flex;
  gap: 2rpx;
}

.star {
  font-size: 20rpx;
  color: #ddd;
}

.star.filled {
  color: #ffa500;
}

.review-date {
  font-size: 22rpx;
  color: #999;
}

.review-content {
  font-size: 26rpx;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15rpx;
}

.review-images {
  display: flex;
  gap: 10rpx;
  margin-bottom: 15rpx;
}

.review-image {
  width: 100rpx;
  height: 100rpx;
  border-radius: 8rpx;
}

.no-reviews {
  text-align: center;
  padding: 60rpx 0;
  color: #999;
  font-size: 28rpx;
}
